package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.ScenicDetail;
import cn.wolfcode.luowowo.article.domain.ScenicTag;
import cn.wolfcode.luowowo.article.query.ScenicDetailQuery;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScenicDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ScenicDetail record);

    ScenicDetail selectByPrimaryKey(Long id);

    List<ScenicDetail> selectAll();

    int updateByPrimaryKey(ScenicDetail record);

    List<ScenicDetail> selectByRefIds(Long[] refIds);

    List<ScenicDetail> selectHot(int stateHot);


    List<ScenicDetail> selectByDestIdAndTagId(@Param("destId") Long destId, @Param("tagId") Long tagId);

    List<ScenicDetail> selectForList(ScenicDetailQuery qo);



}